use atlas
go
CREATE TABLE [dbo].[monitor400_tmp] (
  [hostname] varchar(16) COLLATE SQL_Latin1_General_CP1251_CI_AS NOT NULL,
  [datetime_in] datetime NOT NULL,
  [msg_kind] tinyint NOT NULL,
  [msg_category] tinyint NOT NULL,
  [msg_size] bigint NOT NULL,
  [from_surname] varchar(16) COLLATE SQL_Latin1_General_CP1251_CI_AS NOT NULL,
  [from_x400] varchar(256) COLLATE SQL_Latin1_General_CP1251_CI_AS NOT NULL,
  [to_surname] varchar(16) COLLATE SQL_Latin1_General_CP1251_CI_AS NOT NULL,
  [to_x400] varchar(256) COLLATE SQL_Latin1_General_CP1251_CI_AS NOT NULL,
  [msg_id] varchar(32) COLLATE SQL_Latin1_General_CP1251_CI_AS NOT NULL,
  [alias_sender] varchar(32) COLLATE SQL_Latin1_General_CP1251_CI_AS NOT NULL,
  [msg_cirkul] tinyint DEFAULT 0 NULL,
  [msg_errorcode] varchar(8) COLLATE SQL_Latin1_General_CP1251_CI_AS DEFAULT 0 NULL
)
ON [PRIMARY]
GO